Added two new visualisations that use the vtk toolbox#1
Open
RmStorm wants to merge 4 commits intopaulf81:masterfrom
RmStorm:master
Open
Added two new visualisations that use the vtk toolbox#1RmStorm wants to merge 4 commits intopaulf81:masterfrom RmStorm:master
RmStorm wants to merge 4 commits intopaulf81:masterfrom
RmStorm:master
Conversation
…as dataframe specifying flowdata to a .vti file.
…i format, also stored the oriring in the .vti files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These two visualizations of the flowfield only work after installing vtk. I used a version of vtk that was availabe through the conda package manager:
$ conda install -c clinicalgraphics vtk
I also added a file that has two functions which can be used to translate .vti to a pandas dataframe and back. The .vti files are around 40% smaller than the identical .vtk files.
It might be nicer to put these on a branch since they require the vtk library upon which the rest of your tools are not available.